home *** CD-ROM | disk | FTP | other *** search
- 68
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- LogIn
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baLogIn displays a log in dialog box.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baLogIn( Caption, Instruction, UserName, Password, Flags,
- --- RECORDSEPARATOR ---
- NameCaption, PasswordCaption, X, Y )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string, string, string, integer, string, string, integer, integer.
- --- RECORDSEPARATOR ---
- Caption is the caption to show in the Title bar.
- --- RECORDSEPARATOR ---
- Instruction is the instruction to display to the user.
- --- RECORDSEPARATOR ---
- UserName is the text to display in the user name edit box.
- --- RECORDSEPARATOR ---
- Password is the text to display in the password edit box.
- --- RECORDSEPARATOR ---
- Flags changes the behaviour of the dialog.
- --- RECORDSEPARATOR ---
- NameCaption is the text to display beside the user name edit box.
- --- RECORDSEPARATOR ---
- PasswordCaption is the text to display beside the password edit box.
- --- RECORDSEPARATOR ---
- X is the horizontal position of the dialog.
- --- RECORDSEPARATOR ---
- Y is the vertical position of the dialog.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- List.
- --- RECORDSEPARATOR ---
- Returns a property list. See notes for details.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- log = baLogIn( "", "Please log in:" , "", "", 2, "User:", "Password:", -1, -1 )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- log := baLogIn( "", "Please log in:" , "", "", 2, "User:", "Password:", -1, -1 )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The return will be a property list with 3 entries ΓÇô #name, #password and #Ok. For
- --- RECORDSEPARATOR ---
- example;
- --- RECORDSEPARATOR ---
- [#Name: "Fred", #Password: "casper", #Ok: 1]
- --- RECORDSEPARATOR ---
- If the user cancels, then #Ok will be equal to 0.
- --- RECORDSEPARATOR ---
- [#Name: "", #Password: "", #Ok: 0]
- --- RECORDSEPARATOR ---
- Five flags are currently defined:
- --- RECORDSEPARATOR ---
- 1
- --- RECORDSEPARATOR ---
- only allow numbers to be entered
- --- RECORDSEPARATOR ---
- 2
- --- RECORDSEPARATOR ---
- use ***** to mask the password input
- --- RECORDSEPARATOR ---
- 4
- --- RECORDSEPARATOR ---
- Don't allow spaces to be entered
- --- RECORDSEPARATOR ---
- 8
- --- RECORDSEPARATOR ---
- Do not allow blank user name
- --- RECORDSEPARATOR ---
- 16
- --- RECORDSEPARATOR ---
- Do not allow blank password
- --- RECORDSEPARATOR ---
- The values of the X and Y are relative to the screen. Use -1 to center the dialog on
- --- RECORDSEPARATOR ---
- the screen, -2 to center on the Director/Authorware window.